package com.umpay.dto.merAccess.req.materials;

import com.umpay.annotation.Pattern;
import com.umpay.verify.Verifiable;
import org.hibernate.validator.constraints.NotEmpty;

/*******************************************************************
 * description : 个体会员注册请求类
 * @author zhangru
 * @date 2018年1月22日 上午11:17:12
 * @version 1.0
 *************************************************************/
public class MemberUploadMaterialsRegisterReq implements Verifiable {
	
	@NotEmpty(message = "商户编号不能为空")
	@Pattern(message = "商户编号格式不正确")
	private String mer_id;//	商户号	变长8 
	@Pattern(message = "商户编号格式不正确")
	private String notify_url;//	异步通知地址 
	@NotEmpty(message = "版本号不能为空")
	@Pattern(message = "版本号格式不正确")
	private String version;
	@NotEmpty(message = "会员用户号不能为空")
	@Pattern(message = "会员用户号格式不正确")
	private String user_id;
	@NotEmpty(message = "会员类型不能为空")
	@Pattern(message = "会员类型格式不正确")
	private String user_type;
	public String getMer_id() {
		return mer_id;
	}
	public void setMer_id(String mer_id) {
		this.mer_id = mer_id;
	}
	public String getNotify_url() {
		return notify_url;
	}
	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getUser_type() {
		return user_type;
	}
	public void setUser_type(String user_type) {
		this.user_type = user_type;
	}
	@Override
	public String toString() {
		return "MemberUploadMaterialsRegisterReq [mer_id=" + mer_id
				+ ", notify_url=" + notify_url + ", version=" + version
				+ ", user_id=" + user_id + ", user_type=" + user_type + "]";
	}


	


}
